package com.SouthernWall_404.AgeDust.Common.API.Util;

import com.SouthernWall_404.AgeDust.Common.Network.ModChannels;
import com.SouthernWall_404.AgeDust.Common.Network.S2C.CharacterScreenServerPacket;
import net.minecraft.world.entity.player.Player;

public class CharacterSceenAPI {

    public static void openCharacterScreen(Player player)
    {
        CharacterScreenServerPacket characterScreenServerPacket=new CharacterScreenServerPacket(player);
        ModChannels.sendToClient(characterScreenServerPacket,player);

        //向客户端发送数据包，令其打开
    }
}
